const APIS = {
  // 登录
  token: '/api/token/',
  // 会话详情
  chatDetail: '/aitutor/completions/latest/',
  // 题目详情
  questionDetail: '/aitutor/problem/',
  // websocket
  ws: '/aitutor/chat/ws',
} as const;

export type APITYPE = typeof APIS;
export type URLTYPE = APITYPE[keyof APITYPE];

export default APIS;
